import Vue from'vue';
import VueRouter from 'vue-router';
//使用插件
Vue.use(VueRouter);
import Button from '../components/Button'
import Container from '../components/Container'
import Layout from '../components/Layout'
export default new VueRouter({
    routes:[
        {
            path:'/button',
            component:Button,
        },
        {
            path:'/container',
            component: Container,
        },
        {
            path:'/layout',
            component: Layout,
        }
    ]
})